package java8_31;

/**
 * @author oldliu
 * @since 1.0
 */
public class AntiTheftDoor extends Door implements Lock {
    public AntiTheftDoor(String brand, int price) {
        super(brand, price);
    }

    @Override
    public void lock() {
        System.out.println("锁芯顺时针转了3圈，"+super.getBrand()+"防盗门锁上了");
    }


    @Override
    public void unlock() {
        System.out.println("锁芯逆时针转了3圈，"+super.getBrand()+"防盗门打开了");
    }
}
